﻿using EasyShop.GoodsService.Repository.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace EasyShop.GoodsService.Repository.Domain
{
    [Table("goods")]
    /// <summary>
    /// 商品实体
    /// </summary>
    public class Goods:Entity
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 商品描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 商品海报
        /// </summary>
        public string Poster { get; set; }
    }
}
